﻿<%@ Page Language="C#" AutoEventWireup="true"   CodeBehind="WorkflowMap.aspx.cs" Inherits="ZX.WebApp.Crm.BasePages.WorkflowMap" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>流程监视</title>
   <%-- <LINK href="CSS/hfmanger.css" type="text/css" rel="stylesheet">--%>
   <link href="../../App_Themes/CielThemes/WhiteChromeGridView.css"
       rel="stylesheet" type="text/css" />
    <link href="../../App_Themes/CielThemes/Common.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        function openDialog() {
            var workflowid = '<%=workflowId %>'
            var workflowInsid = '<%=workflowInsId %>'
            var returnValue = window.open('WorkflowMapDialog.aspx?workflowID=' + workflowid + '&workflowInsID=' + workflowInsid + '','', 'dialogWidth=1000px;dialogHeight=500px;scroll:no');
     }
     </script>
</head>
<body onload="remove_loading();">
   <form id="form1" runat="server">
     <object id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0"
        width="0" ></object>
        <div class="head">
                <h4 id="module_1_head" class="moduleHeader">
                    <span id="module_1_title" class="title" style="cursor: move;"><font color="blue">流程监视图</font>&nbsp;<font
                        face="宋体" color="#3D4D88"><strong>&gt;&gt;</strong></font></span>
                         <span id="Span1" class="title" style="cursor: move;"><font color="blue"> <input type="button"  value="打 印" onclick="openDialog()"/></font></span>
                       </h4>
            </div>
        <table style="width: 100%" border="1">
<%--            <tr>
                <td colspan="3" style="width: 100% height: 17px" align="left" valign="top">
                    <span style="color: black">流程说明</span></td>
            </tr>--%>
            <tr>
                <td style="height: 16px; " colspan="3">

                   <asp:GridView ID="gvworkflowMessage" CssClass="GridViewStyle" runat="server" AutoGenerateColumns="False" 
                    Width="100%">
                    <Columns>
                        <asp:BoundField DataField="WorkFlowNo" HeaderText="流程编号" >
                          <ItemStyle  Width="5%"/>
                        </asp:BoundField>
                        <asp:BoundField DataField="TaskInstanceCaption" HeaderText="任务名称" >
                           <ItemStyle  Width="10%"/>   
                        </asp:BoundField>
                        <asp:BoundField DataField="FlowCaption" HeaderText="流程名称" >
            
                          <ItemStyle  Width="10%"/>
                        </asp:BoundField>
                        <asp:BoundField DataField="OperatedDes" HeaderText="处理者" >
                           <ItemStyle  Width="10%"/>     
                        </asp:BoundField>
                        <asp:BoundField DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" HtmlEncode="False" DataField="taskStartTime" HeaderText="任务开始时间" >
                            <ItemStyle  Width="10%"/>   
                        </asp:BoundField>
                        <asp:BoundField DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" HtmlEncode="False" DataField="taskEndTime" HeaderText="任务结束时间">
                           <ItemStyle  Width="10%"/>
                        </asp:BoundField>
                       
                        <asp:BoundField DataField="Message" HeaderText="审批意见">
                         <ItemStyle  Width="25%"/>
                        </asp:BoundField>
                        <asp:BoundField DataField="SuccessMsg" HeaderText="状态">
                         <ItemStyle  Width="10%"/>
                        </asp:BoundField>
                    </Columns>
                    <FooterStyle CssClass="FooterStyle" />

<RowStyle CssClass="RowStyle" />

<EmptyDataRowStyle CssClass="EmptyRowStyle" />

<PagerStyle CssClass="PagerStyle" />

<SelectedRowStyle CssClass="SelectedRowStyle" />

<HeaderStyle CssClass="HeaderStyle" />

<EditRowStyle CssClass="EditRowStyle" />

<AlternatingRowStyle CssClass="AltRowStyle" />

            
                </asp:GridView>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="width: 100%; height: 16px">
                    <asp:Image ID="Image1" runat="server" 
                        ImageUrl="~/Crm/BasePages/WfMonitorPic.aspx" /></td>
            </tr>
        </table>
   
    </form>
</body>
</html>
